#include <iostream>
using namespace std;

int main() {
	string s = "/.+(STL).*$1/";
	string::size_type pos = 0;
	
	pos = s.find_first_of('(', pos);
	s.erase(0, pos+1);
	pos = s.find_first_of(')', 0);
	s.erase(pos);
	cout << s;
}
